POV-Ray : Newsgroups : povray.binaries.images : greebles, second try : greebles, second try Server Time
7 Aug 2024 07:15:40 EDT (-0400)
  greebles, second try  
From: Zeger Knaepen
Date: 16 May 2006 14:40:08
Message: <446a1c88@news.povray.org>
completely rewrote the macros.  It now works with any convex quadrangle 
(or triangle).
(oh, I removed the texture, because I couldn't get the lighting good 
enough :))

cu!
-- 
#macro G(b,e)b+(e-b)*C/50#end#macro _(b,e,k,l)#local C=0;#while(C<50)
sphere{G(b,e)+3*z.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1;
#end#end _(y-x,y,x,x+y)_(y,-x-y,x+y,y)_(-x-y,-y,y,y+z)_(-y,y,y+z,x+y)
_(0x+y.5+y/2x)_(0x-y.5+y/2x)            // ZK http://www.povplace.com


Post a reply to this message


Attachments:
Download 'vierhoekgreeble2.jpg' (81 KB)

Preview of image 'vierhoekgreeble2.jpg'
vierhoekgreeble2.jpg


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.